Skip to content

Thumbnails for the layer node#1210

Merged
Keavon merged 10 commits intomasterfrom
layer-thumbnails
May 18, 2023
Merged

Thumbnails for the layer node#1210
Keavon merged 10 commits intomasterfrom
layer-thumbnails

Conversation

@0HyperCube
Copy link
Copy Markdown
Contributor

@0HyperCube 0HyperCube commented May 11, 2023

Closes #1211

Thumbnails in the node graph - building on TrueDoctor's node graph introspection mechanism.

ToDo:

  • Vector thumbnails
  • Image frame thumbnails
  • Group thumbnails

Styling as part of #1175

@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 12, 2023 22:23 Inactive
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 12, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 21448ee
Status: ✅  Deploy successful!
Preview URL: https://4be73686.graphite.pages.dev
Branch Preview URL: https://layer-thumbnails.graphite.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2023

Deploy Preview ready!

Name Link
🔨 Latest commit 88c4713
🔍 Latest deploy log https://github.com/GraphiteEditor/Graphite/actions/runs/5010433599
😎 Deploy Preview Url https://0c84f711.graphite.pages.dev
🌳 Environment production

@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 12, 2023 22:28 Inactive
@0HyperCube 0HyperCube marked this pull request as ready for review May 13, 2023 16:00
@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 13, 2023 16:00 Inactive
@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 13, 2023 21:45 Inactive
@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 14, 2023 09:03 Inactive
@0HyperCube 0HyperCube requested review from Keavon and TrueDoctor May 15, 2023 15:34
@Keavon Keavon requested a review from nat-rix May 15, 2023 18:12
Comment thread frontend/wasm/src/editor_api.rs Outdated
Comment thread node-graph/gcore/src/graphic_element/renderer/quad.rs Outdated
@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 15, 2023 20:51 Inactive
Comment thread node-graph/gcore/src/graphic_element/renderer.rs
Comment thread node-graph/gcore/src/graphic_element/renderer.rs
@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 17, 2023 18:12 Inactive
let uuid = generate_uuid();
render.svg.push(SvgSegment::BlobUrl(uuid));
render.svg.push("\" />".into());
render.image_data.push((uuid, self.image.clone()))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ChatGPT recommends this, is it applicable?

image

Copy link
Copy Markdown
Member

@Keavon Keavon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fantastic. Merging this now. Feel free to check out and respond to the one comment I left if it's relevant.

@github-actions github-actions Bot temporarily deployed to graphite-dev (Preview) May 18, 2023 03:46 Inactive
@Keavon Keavon merged commit 88c4713 into master May 18, 2023
@Keavon Keavon deleted the layer-thumbnails branch May 18, 2023 04:12
TrueDoctor pushed a commit that referenced this pull request May 23, 2023
* Thumbnails for the layer node

* Raster node graph frames

* Downscale to a random resolution

* Cleanup and bug fixes

* Generate paths before duplicating outputs

* Fix stable id test

* Code review changes

* Code review pass with minor changes

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Keavon added a commit that referenced this pull request Jul 30, 2023
* Thumbnails for the layer node

* Raster node graph frames

* Downscale to a random resolution

* Cleanup and bug fixes

* Generate paths before duplicating outputs

* Fix stable id test

* Code review changes

* Code review pass with minor changes

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display layer thumbnails in the node graph

3 participants